package com.codeduck.common.dubbo;

import com.codeduck.common.response.ServiceResponse;
import com.codeduck.common.response.StorageResponse;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2022-08-20
 */
public interface IStorageDubboService {

    /**
     * 扣减库存
     * @return
     */
    ServiceResponse<StorageResponse> decreaseStorage(String commodityCode, Integer count);
}
